package com.baoteng.rbspy.mq;

import com.fasterxml.jackson.annotation.JsonValue;

public enum PackageType {

	NOTIFY("@ntf", "通知"), GET("@get", "查询"), ERROR("@err", "保存"), RESULT("@reu", "结果"),SET("@set","设置"),DEL("@del","删除"),LIST("@lst","查询列表"),MESSAGE("@msg","信息"),RESET("@rst","重置、重新执行");

	private String eventId;

	private String eventDesc;

	private PackageType(String eventId, String desc) {
		this.eventId = eventId;
		this.eventDesc = desc;
	}

	@JsonValue
	public String getEventId() {
		return eventId;
	}

	public void setEventId(String eventId) {
		this.eventId = eventId;
	}

	public String getEventDesc() {
		return eventDesc;
	}

	public void setEventDesc(String eventDesc) {
		this.eventDesc = eventDesc;
	}

}
